package edu.cn.neusoft.dm.showweb.mapper;

import edu.cn.neusoft.dm.showweb.bean.db.HomeworkClass;
import edu.cn.neusoft.dm.showweb.bean.db.HomeworkClassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HomeworkClassMapper {
    long countByExample(HomeworkClassExample example);

    int deleteByExample(HomeworkClassExample example);

    int deleteByPrimaryKey(Integer homeworkClassId);

    int insert(HomeworkClass record);

    int insertSelective(HomeworkClass record);

    List<HomeworkClass> selectByExample(HomeworkClassExample example);

    HomeworkClass selectByPrimaryKey(Integer homeworkClassId);

    int updateByExampleSelective(@Param("record") HomeworkClass record, @Param("example") HomeworkClassExample example);

    int updateByExample(@Param("record") HomeworkClass record, @Param("example") HomeworkClassExample example);

    int updateByPrimaryKeySelective(HomeworkClass record);

    int updateByPrimaryKey(HomeworkClass record);
}